Total Complexity | 34 |
Dependencies | 4 |
Dependents | 0 |
Total lines | 320 |
Lines of code | 180 |
Logical lines of code | 70 |
Comment lines | 120 |
Methods | 13 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
save_wc_order_attribution() | 49 | 6 | 35 | |
restore_wc_order_attribution() | 63 | 6 | 10 | |
source_form_elements() | 64 | 5 | 9 | |
init_hooks() | 48 | 2 | 40 | |
add_wc_order_attribution_js_cart_page() | 56 | 1 | 31 | |
instance() | 68 | 2 | 8 | |
reset() | 69 | 2 | 7 | |
__construct() | 75 | 2 | 5 | |
remove_hooks() | 66 | 2 | 8 | |
is_order_attribution_feature_enabled() | 70 | 2 | 6 | |
restore_wc_order_attribution_native_session() | 70 | 2 | 6 | |
add_wc_order_attribution_js_ppc_page() | 65 | 1 | 12 | |
disable_source_form_elements() | 80 | 1 | 3 |